home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
flilib
/
flisrc
/
jkeyis.asm
< prev
next >
Wrap
Assembly Source File
|
1989-11-12
|
299b
|
21 lines
_TEXT SEGMENT BYTE PUBLIC 'CODE'
ASSUME CS: _TEXT
;_dos_key_is() - returns 1 if a key is ready to read from keyboard, 0 otherwise
public _dos_key_is
_dos_key_is proc far
mov ah,1
int 16h
jz ret0
jmp retit
ret0:
xor ax,ax
retit:
ret
_dos_key_is endp
_TEXT ENDS
END